package com.zhan.ielts.service;

import java.util.List;
import java.util.Map;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.zhan.frame.core.dao.BaseService;
import com.zhan.ielts.domain.UnknownVocabulary;
import com.zhan.ielts.domain.query.UnknownVocabularyQuery;

public interface UnknownVocabularyService extends BaseService<UnknownVocabulary> {

	public List<String> selectWrods(UnknownVocabulary entity);

	public void updateByCustom(List<UnknownVocabulary> entityList);

	public List<UnknownVocabulary> selectLatest(UnknownVocabulary entity);

	public Page<UnknownVocabulary> selectLatestNew(UnknownVocabulary entity, Pageable pageable);

	public Long selectCountByCustom(UnknownVocabulary entity);

	public Map fetchUnknownVocabulary(UnknownVocabularyQuery entity);

	public void updateUnknownVocabulary(List<UnknownVocabulary> unknownVocabularyList, String userId, String device, String osVersion, String appVersion);

}
